<%-- 
    Document   : index
    Created on : 21/02/2013, 19:24:49
    Author     : raphael
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Calculadora</title>
    </head>
    <body>
        <form action="/Calculadora/Calcular" method="POST">
            Número 1: <input type="text" name="n1" value="" /> <br />
            Número 2: <input type="text" name="n2" value="" /> <br />
            Operacao: <select name="operacao">
                <option value="soma">Soma</option>
                <option value="subtracao">Subtração</option>
                <option value="multiplicacao">Multiplicação</option>
                <option value="divisao">Divisão</option> <br />                
            </select>
            <input type="submit" value="Calcular" />
        </form>
    </body>
</html>
